package livingarea.other;

import livingarea.LivingArea;

/**
 * Class for printing output information.
 *
 * @author Muzalevskiy Vitaliy
 */
public class Printer {
    
    /**
     * Print to console final state of swimming pool.
     */
    public static  void printStatistic(LivingArea livingArea) {
        System.out.println("Predator count: " + livingArea.getStatistics().getPredatorCount());
        System.out.println("Pray count: " + livingArea.getStatistics().getPrayCount());
        System.out.println("Greenery count: " + livingArea.getStatistics().getGreeneryCount());
        System.out.println("Eated fish count: " + livingArea.getStatistics().getEatCount());
        System.out.println("Died by own death fish count: " + livingArea.getStatistics().getDieCount());

    }
}
